package oa.hleast.xswl.pojo.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import oa.hleast.common.base.BaseEntity;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class UmsMember extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private Integer gender;

    private String nickname;

    private String mobile;

    private LocalDate birthday;

    private String avatar;

    private String openid;

    private String unionid;

    private String custUserId;

    private String zjfwUserId;

    private String sessionKey;

    private Integer status;
    
    @ApiModelProperty("用户类型 0: 应聘者 1: HR 2: 面试官")
    private Integer type;

    private Long point;

    private Integer deleted;

    private Date lastSignInDate;

    @TableField(exist = false)
    private List<UmsAddress> addressList;

    //    @TableField(exist = false)
    private Long balance;

    /**
     * 实名认证状态 0为未实名认证 1手机认证 2身份证认证
     */
    private Integer authStatus;

    private String nation;

    private String fullname;

    private String idCardNum;

    private String imagerFrontCard;

    private String imagerBackCard;

}
